{{/*
Create the replicas
*/}}
{{- define "replicas.nsf_api_plane" }}
{{- if eq .Values.replica_semantic "ha" -}}
{{- print .Values.ha_replicas.nsf_api_plane }}
{{- else if eq .Values.replica_semantic "poc" -}}
{{- print .Values.poc_replicas.nsf_api_plane }}
{{- end -}}
{{- end }}